﻿namespace Sidvall.LogManager.Net.Services.V1.ConfigModel
{
    public sealed partial class EntityFacade : global::Sidvall.LogManager.Data.ConfigModel.EntityFacadeBase
    {
        #region Public Members

        #region ServerConnectionManager

        private global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.ServerConnectionManager<global::Sidvall.LogManager.Net.Services.V1.ServerConnection, global::Sidvall.LogManager.Net.Services.V1.ServerConnectionCollectionItem> _ServerConnectionManager;
        public global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.ServerConnectionManager<global::Sidvall.LogManager.Net.Services.V1.ServerConnection, global::Sidvall.LogManager.Net.Services.V1.ServerConnectionCollectionItem> ServerConnectionManager
        {
            get
            {
                return _ServerConnectionManager;
            }
            private set
            {
                _ServerConnectionManager = value;
            }
        }

        #endregion
        #region UserConfigurationManager

        private global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.UserConfigurationManager<global::Sidvall.LogManager.Net.Services.V1.UserConfiguration, global::Sidvall.LogManager.Net.Services.V1.UserConfigurationCollectionItem> _UserConfigurationManager;
        public global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.UserConfigurationManager<global::Sidvall.LogManager.Net.Services.V1.UserConfiguration, global::Sidvall.LogManager.Net.Services.V1.UserConfigurationCollectionItem> UserConfigurationManager
        {
            get
            {
                return _UserConfigurationManager;
            }
            private set
            {
                _UserConfigurationManager = value;
            }
        }

        #endregion
        #region LogContextManager

        private global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.LogContextManager<global::Sidvall.LogManager.Net.Services.V1.LogContext, global::Sidvall.LogManager.Net.Services.V1.LogContextCollectionItem> _LogContextManager;
        public global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.LogContextManager<global::Sidvall.LogManager.Net.Services.V1.LogContext, global::Sidvall.LogManager.Net.Services.V1.LogContextCollectionItem> LogContextManager
        {
            get
            {
                return _LogContextManager;
            }
            private set
            {
                _LogContextManager = value;
            }
        }

        #endregion
        
        #endregion
        #region Constructors

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
        public EntityFacade() 
            : base(global::Sidvall.LogManager.Net.Services.V1.ConfigModel.ResourceFactory.Current)
        {
            this.ServerConnectionManager = new global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.ServerConnectionManager<global::Sidvall.LogManager.Net.Services.V1.ServerConnection, global::Sidvall.LogManager.Net.Services.V1.ServerConnectionCollectionItem>(this);
            this.UserConfigurationManager = new global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.UserConfigurationManager<global::Sidvall.LogManager.Net.Services.V1.UserConfiguration, global::Sidvall.LogManager.Net.Services.V1.UserConfigurationCollectionItem>(this);
            this.LogContextManager = new global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.LogContextManager<global::Sidvall.LogManager.Net.Services.V1.LogContext, global::Sidvall.LogManager.Net.Services.V1.LogContextCollectionItem>(this);
        }

        #endregion
    }
}